package cn.wolfcode.edu.mapper;

import cn.wolfcode.edu.domain.Salary;
import cn.wolfcode.edu.query.SalaryQueryObject;

import java.util.List;

public interface SalaryMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Salary entity);

    Salary selectByPrimaryKey(Long id);

    List<Salary> selectAll(SalaryQueryObject qo);

    int updateByPrimaryKey(Salary entity);

    int queryForCount(SalaryQueryObject qo);

    void account(Salary salary);

    void addWorkDays(Long empId);

    void updateLate(Long empId);

    void updateEarly(Long empId);
}